import Vue from 'vue'
import Router from 'vue-router'
import Header from '@/components/Header/Header'//头部组件
import One from '@/pages/Index/Basic/One/One' //01组件

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      redirect: '/One'
    },
    {
      path: '/Header',
      component: Header
    },
    {
      path:'/One',
      component:One
    }
  ]
})
